﻿using WeifenLuo.WinFormsUI.Docking;
using Zove.Runtime;

namespace Zove.Desktop {
    public partial class ClassStatisticsForm : DockContent {
        public ClassStatisticsForm() {
            InitializeComponent();
        }

        public ClassStatisticsForm(RuntimeModel rm)
            : this() {
            gvStatistics.Rows.Add(new string[] { "Factor", rm.Factors.Count.ToString() });
            gvStatistics.Rows.Add(new string[] { "Equations", rm.Equations.Count.ToString() });
        }
    }
}
